home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5244 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  775 b 

  1. Path: granite.sentex.net!usenet
  2. From: mvejvoda@sentex.net (Mark Vejvoda)
  3. Newsgroups: comp.lang.c++
  4. Subject: Code Base 5.1 problem
  5. Date: Sat, 03 Feb 1996 01:52:43 GMT
  6. Organization: Sentex Communications Corporation.
  7. Message-ID: <4eufsf$908@granite.sentex.net>
  8. NNTP-Posting-Host: p6.lithium.sentex.ca
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. I am writing my own DLL and I'm tryin to link in a codebase 5.1 static
  12. library (as per instructions in the COMPILER.DOC) in Borlandc C++
  13. 4.02. In my D4ALL.H header i've declated some global vars to be used
  14. in each .C module that i write. When i include d4all.h in these .C
  15. modules the compile works.. but the linker says that the global
  16. variables have been duplicated in each subsequent .C module. Why is
  17. this.. what have i done wrong?
  18.  
  19.